package com.hornsun.data.repository.mapper;

import com.hornsun.data.dto.WebClientDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by 编译中... on 2018/7/14.
 */
@Component
public interface ClientDTOMapper {
    List<WebClientDTO> getTotal();
    List<WebClientDTO> getByDepartment(int id);
    List<WebClientDTO> getByDepartmentAndRole(@Param("id") int id, @Param("roleGuid") String roleGuid);
    WebClientDTO getByGuid(String guid);
}
